class Authority {

  String name;
  String displayName;
  static hasMany = [resources:Resource,userInfos:UserInfo];
  Date creatTime;
  static belongsTo = [UserInfo];

  static constraints = {
    name(nullable:false)
    displayName(nullable:false)
  }

}
